package org.jeecg.modules.oa.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import org.jeecg.modules.oa.entity.ButtonConditionNew;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 节点
 * @Author: jeecg-boot
 * @Date:   2019-12-17
 * @Version: V1.0
 */
@Data
public class NodeButtonNewPage {
	
	/**按钮表id*/
	private String id;
	/**节点ID*/
  	@Excel(name = "节点ID", width = 15)
	private String nodeId;
	/**按钮名称*/
  	@Excel(name = "按钮名称", width = 15)
	private String buttonName;
	/**tenantId*/
  	@Excel(name = "tenantId", width = 15)
	private Integer tenantId;
	/**按钮的code值*/
  	@Excel(name = "按钮的code值", width = 15)
	private String buttonCode;
	/**特殊执行条件 0 ：有  ， 1：无 */
  	@Excel(name = "特殊执行条件 0 ：有  ， 1：无 ", width = 15)
	private String conditionFlg;
	/**推送条件 0 ：有  ， 1：无 */
  	@Excel(name = "推送条件 0 ：有  ， 1：无 ", width = 15)
	private String sendFlg;
	/**创建者*/
  	@Excel(name = "创建者", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新者*/
  	@Excel(name = "更新者", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/**备注信息*/
  	@Excel(name = "备注信息", width = 15)
	private String remarks;
	/**删除标记*/
  	@Excel(name = "删除标记", width = 15)
	private String delFlag;
  	@TableField(exist = false)
	private String selectButtonId;
	
	@ExcelCollection(name="按钮条线")
	private List<ButtonConditionNew> buttonConditionNewList;
	
}
